using System;
using System.Drawing;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
class FormSize :Form
{

	static void Main()
	{
		Application.Run(new FormSize());
	}
	public FormSize()
	{
		Text="FormSize";
//		BackColor=SystemColors.Window;//.White;
//		ForeColor=SystemColors.WindowText;
	}
	protected override void OnMove(EventArgs ea)
	{
		Invalidate();
	}
	protected override void OnResize(EventArgs ea)
	{
		Invalidate();
	}

	protected override void OnPaint(PaintEventArgs pea)
	{
		Graphics g=pea.Graphics;
		string str="location"+Location+"\n"+
			"size:"+Size+"\n"+
			"Bounds"+Bounds+"\n"+
			"Width"+Width+"\n"+
			"Height"+Height+"\n"+
			"Left"+Left+"\n"+
			"top"+Top+"\n"+
			"Right"+Right+"\n"+
			"Bottom"+Bottom+"\n"+
			"DeskTopLocation"+DesktopLocation+"\n"+
			"DesktopBounds"+DesktopBounds+"\n"+
			"ClientSize"+ClientSize+"\n"+
			"ClientRectangle"+ClientRectangle+"\n"+
			"DisplayRect"+DisplayRectangle;
//		g.DrawString(str,Font,new SolidBrush(SystemColors.WindowText),0,0);
		g.DrawString(str,Font,new SolidBrush(ForeColor),0,0);
	}



	
}